@extends('layouts.admin_common') @section('content')
    @if(app('env')=='production')
        <script src="{{ secure_asset('/js/sy_common.js') }}"></script>
    @else
        <script src="{{ asset('/js/sy_common.js') }}"></script>
    @endif

    <div class="breadcrumbs_container">{{
	Breadcrumbs::render('admin.notpaied_list') }}</div>
    <div class="system_tab_line"></div>

    <div class="lyx_search_table">
        <form>

            <div class="row">

                <div class="form-group row col-sm-3">
                    <label for="inputPassword" class="col-sm-4 col-form-label">請求日</label>
                    <div class="col-sm-8">
                        <input class="form-control lyx_datetimepicker" type="text" @isset($param['star_date']) value="{{$param['star_date']}}"  @endisset name="star_date">
                    </div>
                </div>

                <div class="form-group row col-sm-3">
                    <label for="inputPassword" class="col-sm-1 col-form-label">~</label>
                    <div class="col-sm-8">
                        <input class="form-control lyx_datetimepicker" type="text" @isset($param['end_date']) value="{{$param['end_date']}}" @endisset name="end_date">
                    </div>
                </div>

                <div class="form-check form-check-inline col-sm-2">
                    <button class="btn btn-primary button_normal">检索</button>
                </div>

                <div class="form-check form-check-inline col-sm-2">
                    <a href="{{url('admin/exp_notpaied_list')}}" class="btn btn-primary button_normal">csv出力</a>
                </div>

            </div>


        </form>


        <div class="lyx_table">
            <div class="row lyx_table_title">
                <div class="col-sm-1"></div>
                <div class="col-sm-7">未入金一覧</div>
                <div class="col-sm-4">出力日:{{toDate(time(),'Y-m-d')}}</div>
            </div>
            {{--<div class="row">--}}
                {{--<div class="col-sm-1"></div>--}}
                {{--<div class="col-sm-6">--}}
                    {{--請求日:2018 / 4/1 〜 2018/8/31--}}
                {{--</div>--}}
            {{--</div>--}}
            <table class="table table-bordered">
                <thead>
                <tr>
                    <th scope="col">@lang('symessages.info.send_goods_date')</th>
                    <th scope="col">@lang('symessages.info.company_name')</th>
                    <th scope="col">@lang('symessages.info.company_shop')</th>
                    <th scope="col">@lang('symessages.ajax_data.order_id')</th>
                    <th scope="col">@lang('symessages.info.total_money')</th>
                    {{--<th scope="col">入金予定</th>--}}
                </tr>
                </thead>
                <tbody>
                @foreach($list as $value)
                    <tr>
                        <td>{{$value->send_goods_time}}</td>
                        <td>{{fun_corp($value->corp_id)}}</td>
                        <td>{{fun_shop($value->shop_id)}}</td>
                        <td>{{$value->order_id}}</td>
                        <td>¥{{$value->money}}</td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>

    </div>


@endsection

